<?php

/***

LZRoster: A roster for World of Warcraft.
Copyright (C) 2007  Emmanuel Cron

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

***/

require_once "class/Load.class.php";
require_once "class/Config.class.php";
require_once "class/StatusRoster.class.php";
require_once "class/Localization.class.php";

$load = Load::GetInstance();
$config = Config::GetInstance();
$localization = Localization::GetInstance();
$status_roster = StatusRoster::GetInstance();

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
	<head>
		<title>LZRoster<?php echo $config->HasRosterTitle() ?  " - ".$config->GetRosterTitle() : null; ?></title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<link rel="stylesheet" media="screen" type="text/css" href="styles/_.css" />
	</head>
	<body>
		
		<?php require_once "inc/head.php"; ?>
		<?php require_once "inc/hmenu.php"; ?>
		
		<h2><?php echo $localization->Get('about'); ?></h2>
		
		<?php
		if ($status_roster->HasMessage())
		{
		?>
			
			<p>
				<?php echo $localization->Get('this page produced some messages. please refer to the following lines'); ?>
			</p>
			
			<?php echo $status_roster->GetStack_InList(); ?>
			
			<p>
				<?php echo $localization->Get('you can refresh the page %s and try again', "about.php"); ?>
			</p>
			
		<?php
		}
		else
		{
		?>
		
		<p style="color: #ffb019; float: right; text-align: center;">
			<img src="img/snowfall_interactive.png" alt="" /><br />
			<span style="font-size: 0.8em; font-style: italic;">
				<?php echo $localization->Get('the snowfall interactive logo'); ?>
			</span>
		</p>
		
		<h3><?php echo $localization->Get('the author'); ?></h3>
		<p>
			<?php echo $localization->Get('the site and the addon has been coded by %s, aka %t', "<em>pb_ee1</em>", "Emmanuel Cron (emmanuel [dot] cron [at] gmail [dot] com)"); ?>
		</p>
		<p>
			<?php echo $localization->Get('at first, the roster was made only for the %s guild (...)', "<a href='http://www.lords-zodiac.com/'>Lords of the Zodiac</a>"); ?>
		</p>
		
		<h3><?php echo $localization->Get('the roster'); ?></h3>
		<p>
			<?php echo $localization->Get('the aims of this roster are clear: simple, efficient (...)'); ?>
		</p>
		<p>
			<?php echo $localization->Get('this roster is copyrighted. you are allowed to (...) %s official website (...)', "http://www.lzroster.com/"); ?>
		</p>
		<p>
			<?php echo $localization->Get('what you can do with this roster'); ?>
		</p>
		<ul>
			<li><?php echo $localization->Get('display the characters race, ...'); ?></li>
			<li><?php echo $localization->Get('save the character s crafts'); ?></li>
			<li><?php echo $localization->Get('search an item in the known crafts'); ?></li>
			<li><?php echo $localization->Get('click on an item and be redirected to the appropriate external database'); ?></li>
			<li><?php echo $localization->Get('click on a player and be redirected on the armory'); ?></li>
			<li><?php echo $localization->Get('protect your data with a password'); ?></li>
			<li>...</li>
		</ul>
		
		<h3><?php echo $localization->Get('translation'); ?></h3>
		<p>
			<?php echo $localization->Get('this website has originally been coded in (...)'); ?>
		</p>
		<p>
			<?php echo $localization->Get('if you think a page needs a correction or (...)'); ?>
		</p>
		
		<h3><?php echo $localization->Get('donate'); ?></h3>
		<p>
			<?php echo $localization->Get('if you like the functionnalities of this roster, you can support (...)'); ?>
		</p>
		
		<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
		<p style="text-align: center;">
			<input type="hidden" name="cmd" value="_s-xclick" />
			<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" name="submit" alt="" style="border: none; height: 31px; width: 62px;" />
			<img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
			<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MI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